﻿using IM.Easy.Infrastructure.Query;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IM.Easy.SystemServices.Dtos
{
    public class UserRoleQueryDto : QueryBase
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public long UserId { get; set; }

        /// <summary>
        /// 角色ID
        /// </summary>
        public long RoleId { get; set; }

        /// <summary>
        /// 登录名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Mobile { get; set; }
    }

    /// <summary>
    /// 用户角色
    /// </summary>
    public class UserRoleDto
    {
        public long UserId { get; set; }

        public List<long> RoleId { get; set; }
    }

    /// <summary>
    /// 角色用户
    /// </summary>
    public class RoleUserDto
    {
        public long RoleId { get; set; }

        public List<long> UserId { get; set; }
    }
}
